package po

import "time"

type User struct {
	ID        string    `xorm:"id"`
	Name      string    `xorm:"name"`
	IsAdmin   bool      `xorm:"is_admin"`
	ToKen     string    `xorm:"token"`
	Create    time.Time `xorm:"create_time"`
	Update    time.Time `xorm:"update_time"`
	LastLogin time.Time `xorm:"last_login_time"`
}

func (obj *User) TableName() string {
	return "user"
}
